package org.elephas.webapp.frontend.component;

import org.apache.wicket.extensions.markup.html.basic.SmartLinkLabel;
import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.IModel;

/**
 * This footer panel just renders a copyright statement.
 * 
 * @author Gerolf Seitz
 * 
 */
public class FooterPanel extends Panel {

	private static final long serialVersionUID = 1L;

	/**
	 * Constructs the {@link FooterPanel}.
	 * 
	 * @param id
	 *            the component id
	 * @param copyrightModel
	 *            the model which used for the copyright label
	 */
	public FooterPanel(String id, IModel copyrightModel) {
		super(id, copyrightModel);
		add(new SmartLinkLabel("copyright", copyrightModel));
	}
}
